#ifndef _CONFIGMASTER__H_
#define _CONFIGMASTER__H_

#include "ConfigSlice.h"
#include <string>
using std::string;

namespace Config
{



class ConfigMasterI : public ConfigMaster
{
public:
	bool            applySalve(const string & DOID,const ConfigSlavePrx & proxy, const ::Ice::Current & __cur);

	bool             query(const string & sql,  string &datastr, const ::Ice::Current & __cur);

	bool            update(const string & sql, string &str, const ::Ice::Current & __cur);

	bool            exec(const string & sql ,string &str, const ::Ice::Current & __cur);

    void            change(const string & DOID, const string & tablename);
private:
	TSeqRecordSet _seqRecordSet;
	TDicSlavePxy  _dicSlavePxy;

};


} // namespace Config
#endif